/**
 * 
 */
package de.nak.fireDepartment.service;

import java.util.Collection;

import de.nak.fireDepartment.model.User;

/**
 * Service-Interface for Login-Process
 * @author Sven Redelin
 *
 */
public interface LoginService {

	/**
	 * Get the List of Users
	 * @return Collection<User>
	 */
	Collection <User> listUsers();
	
	/**
	 * Validate a Login
	 * @param user
	 * @return boolean (true = validated | false = not validated)
	 */
	boolean validateLogin(User user);
	
	/**
	 * Check if a User is logged into
	 * @return boolean
	 */
	boolean checkUserIsValidated();
	
	/**
	 * Logout
	 */
	void logoutUser();
	
}
